import Vue from 'vue'
import App from './App.vue'
import store from './store'
import axios from 'axios'
import router from './router'
import MyHeader from './components/MyHearder.vue'
import MyFooter from './components/MyFooter.vue'
import aa from './components/OtherHeader.vue'
import element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import lazyload from 'vue-lazyload'
Vue.use(lazyload, { loading: '/img/lazy.jpg' })
Vue.prototype.axios = axios
Vue.config.productionTip = false
Vue.use(element)
Vue.component('my-footer', MyFooter)
Vue.component('my-hearder', MyHeader)
Vue.component('aa', aa)
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')